﻿using Newtonsoft.Json;
using WMS.FC.Domain.ValueObject.System;

namespace WMS.FC.Domain.ValueObject.WCS
{
    /// <summary>
    /// 任务VO
    /// </summary>
    public class TaskVO : ValueObjectBase
    {
        /// <summary>
        /// 任务编码
        /// </summary>
        [JsonProperty("TaskCode")]
        public string TaskCode { get; set; } = string.Empty;

        /// <summary>
        /// 底层托盘条码
        /// </summary>
        [JsonProperty("TrayBarcode1")]
        public string TrayBarcode1 { get; set; } = string.Empty;

        /// <summary>
        /// 中层托盘条码
        /// </summary>
        [JsonProperty("TrayBarcode2")]
        public string? TrayBarcode2 { get; set; }

        /// <summary>
        /// 上层托盘条码
        /// </summary>
        [JsonProperty("TrayBarcode3")]
        public string? TrayBarcode3 { get; set; }

        /// <summary>
        /// 起始点
        /// </summary>
        [JsonProperty("StartPoint")]
        public string StartPoint { get; set; } = string.Empty;

        /// <summary>
        /// 终止点
        /// </summary>
        [JsonProperty("EndPoint")]
        public string EndPoint { get; set; } = string.Empty;

        /// <summary>
        /// 设备编码
        /// </summary>
        [JsonProperty("EquipmentCode")]
        public string EquipmentCode { get; set; } = string.Empty;

        /// <summary>
        /// 货物类型 第一位 托盘是否空 1:空 2:实 第二位 托盘数量 
        /// </summary>
        [JsonProperty("GoodsType")]
        public string GoodsType { get; set; } = string.Empty;
    }
}
